package cn.wolfcode.wolf2w.controller;

import cn.wolfcode.wolf2w.service.IDetailService;
import cn.wolfcode.wolf2w.service.ISpotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/detail")
public class DetailController {

    @Autowired
    private IDetailService detailService;


    @GetMapping("/list")
    private Object list(){

        return detailService.list();

    }
}
